﻿//------------------------------------------------------------------
// System Name:    NRemedy
// Component:      NRemedy
// Create by:      Parker Zhou (parkerz@wicresoft.com)
// Create Date:    2012-04-11
//------------------------------------------------------------------
using System;
using BMC.ARSystem;
using System.Reflection;

namespace NRemedy
{
    public interface IModelBinder<T>
    {
        FieldValueList UnBind(T Model);
        FieldValueList UnBindForUpdate(T Model);
        FieldValueList UnBind(T Model, PropertyFilterDelegate filter);
        T Bind(FieldValueList valueList);
        ARFieldAttribute GetARAttributeField(PropertyInfo pi, ModelBinderAccessLevel accessLevel);
    }
}
